package com.cxhc.system.domain.hcdoc;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cxhc.common.annotation.Excel;

/**
 * 年度资料对象 hd_year_file
 * 
 * @author Dhq
 * @date 2024-09-26
 */
public class HdYearFile
{

    /** 主键，自增长 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 年度 */
    @Excel(name = "年度")
    private String year;

    /** 经办人 */
    @Excel(name = "经办人")
    private String responsibleUser;

    /** 归档状态，0—未归档，1—已归档 */
    @Excel(name = "归档状态",dictType = "pigeonhole_status",readConverterExp = "0=未归档,1=已归档")
    private Integer pigeonholeStatus;

    /** 归档提醒时间 */
    @Excel(name = "归档提醒时间")
    private Integer noticeDays;

    /**
     * 项目文档
     */
    private List<HdProjectDocInfo> hdProjectDocInfos;

    /** 文档所需字段 */
    @Excel(name = "文档所需字段")
    private String fileList;

    /** 备注 */
    private String remark;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String ctime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String utime;

    /**
     * 创建用户
     */
    private String createBy;

    /**
     * 更新人
     */
    private String updateBy;

    public String getResponsibleUser() {
        return responsibleUser;
    }

    public void setResponsibleUser(String responsibleUser) {
        this.responsibleUser = responsibleUser;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<HdProjectDocInfo> getHdProjectDocInfos() {
        return hdProjectDocInfos;
    }

    public void setHdProjectDocInfos(List<HdProjectDocInfo> hdProjectDocInfos) {
        this.hdProjectDocInfos = hdProjectDocInfos;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setYear(String year) 
    {
        this.year = year;
    }

    public String getYear() 
    {
        return year;
    }
    public void setPigeonholeStatus(Integer pigeonholeStatus) 
    {
        this.pigeonholeStatus = pigeonholeStatus;
    }

    public Integer getPigeonholeStatus() 
    {
        return pigeonholeStatus;
    }
    public void setNoticeDays(Integer noticeDays) 
    {
        this.noticeDays = noticeDays;
    }

    public Integer getNoticeDays() 
    {
        return noticeDays;
    }
    public void setFileList(String fileList) 
    {
        this.fileList = fileList;
    }

    public String getFileList() 
    {
        return fileList;
    }
    public void setCtime(String ctime)
    {
        this.ctime = ctime;
    }

    public String getCtime()
    {
        return ctime;
    }
    public void setUtime(String utime)
    {
        this.utime = utime;
    }

    public String getUtime()
    {
        return utime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("year", getYear())
            .append("pigeonholeStatus", getPigeonholeStatus())
            .append("remark", getRemark())
            .append("noticeDays", getNoticeDays())
            .append("fileList", getFileList())
            .append("ctime", getCtime())
            .append("createBy", getCreateBy())
            .append("utime", getUtime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
